﻿using Grow.Domain.Object;

namespace Grow.Domain.Repository.CreateDomainRepository
{
    /// <summary>
    /// Db 构建对象
    /// </summary>
    public interface IDbBuilder
    {
        /// <summary>
        /// 获取Table 构建对象
        /// </summary>
        /// <typeparam name="TEntity"></typeparam>
        /// <returns></returns>
        IEntityBuilder<TEntity> GetEntityBuilder<TEntity>() where TEntity : class, IEntity;
    }
}
